x86/hvm: convert gsi_assert_count into a variable size array
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 4 Apr 2017 10:46:14 +0000 (12:46 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Apr 2017 10:46:14 +0000 (12:46 +0200)
commit6cbc358a1416025d057fd1866b8e37d907cc0662
tree343168def497b325f39eaffbf9bef49d21e3b542
parentfa645b31536995c5a8ff7943fa6222deaceba49a
x86/hvm: convert gsi_assert_count into a variable size array

Rearrange the fields of hvm_irq so that gsi_assert_count can be converted into
a variable size array and add a new field to account the number of GSIs.

Due to this changes the irq member in the hvm_domain struct also needs to
become a pointer set at runtime.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/irq.c
xen/include/asm-x86/domain.h
xen/include/asm-x86/hvm/domain.h
xen/include/asm-x86/hvm/irq.h